package com.lp.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 10263
 */
@FeignClient(name = "testFeign")
public interface TestFeign {

    @PostMapping(value = "//{serviceName}/electronicPoliceIllegalPark/saveOrUpdateByPath")
    void test(@PathVariable(name = "serviceName") String serviceName, @RequestParam String name);
}
